package cn.wangsy.zhidao;

public class Tianmaying {

	public static void main(String[] args) {
		
		byte a = -50;
		short b = 500;
		int c = 1000;
		long d = 20000;
		float e = 0.2f;
		double f = 0.1;
		char g = 'a';
		
		System.out.println(a+"(byte)所占的bit位数为"+Byte.SIZE);
		System.out.println(b+"(short)所占的bit位数为"+Short.SIZE);
		System.out.println(c+"(int)所占的bit位数为"+Integer.SIZE);
		System.out.println(d+"(long)所占的bit位数为"+Long.SIZE);
		System.out.println(e+"(float)所占的bit位数为"+Float.SIZE);
		System.out.println(f+"(double)所占的bit位数为"+Double.SIZE);
		System.out.println(g+"(char)所占的bit位数为"+Character.SIZE);
		
		
		char []charArray = {'w','w','w','.','t','i','a','n','m','a','y','i','n','g','.','c','o','m'};
		for(char c1:charArray){
			System.out.println(c1);
		}
		
	}

}
